// stdafx.h : include file for standard system include files,
//  or project specific include files that are used frequently, but
//      are changed infrequently
//

#pragma once

// Change these values to use different versions
#define WIN32_LEAN_AND_MEAN
#define WINVER          0x0501          // Enable XP features
#define _WIN32_WINNT    0x0501          // Enable XP features
#define _WIN32_IE       0x0501          // Target IE 5.01+
#define _RICHEDIT_VER   0x0100

#define _ATL_APARTMENT_THREADED
#define _WTL_USE_CSTRING
//#define _ATL_USE_CSTRING_FLOAT  // need this so CString::Format() calls _vstprintf() which understands the %I64 prefix

#define RETURN_XML_NULL -8888

#include <atlbase.h>
#include <atlapp.h>
#include "NetAPI.h"
#include "encode.h"
extern CAppModule _Module;
extern NetApi _Net;

 #include <shellapi.h>
#include <atlwin.h>
#include <atlcrack.h>
#include <atlframe.h>
#include <atlctrls.h>
#include <atlctrlx.h>
#include <atlctrls.h>
#include <atlmisc.h>
#include <atlddx.h>
#include <atldlgs.h>


// WININET
#include <wininet.h>

#if defined _M_IX86
  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
#elif defined _M_IA64
  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"")
#elif defined _M_X64
  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
#else
  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
#endif
